﻿using Store.Manager.ERP.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Store.Manager.ERP.Domain.Repositories
{
    public interface IProductRepository
    {
        Task AddAsync(Product product);
        Task AddRangeAsync(List<Product> products);
        Task UpdateAsync(Product product);
        Task DeleteAsync(string code);
        Task<Product> GetByCodeAsync(string code);
        Task<List<Product>> GetAllAsync();
    }
}
